import {GET,POST,UPLOAD} from '@/services/request'

export default {
    register(data = {})
    {
        return POST({
            // /shop/business/base/register
            url:'/business/base/register',
            params:data
        })
    },
    login(data={})
    {
            return POST({
              url:'/business/base/login',
              params:data
            })
    },
    check(data={})
    {
      return POST({
        url:'/business/base/check',
        params:data
      })
    },
    send(data={})
    {
      return POST({
        url:'/business/base/send',
        params:data
      })
    },
    checkemail(data={})
    {
      return POST({
        url:'/business/base/email',
        params:data
      })
    },
    profile(data={})
    {
      // 修改资料后台接口
      return UPLOAD({
        url:'/business/base/profile',
        params:data
      })
    },
    charge(data={})
    {
      return POST({
        url:'/business/base/charge',
        params:data
      })
    }
    
}